package com.quanyan.orderpay.response.mq;

import com.quanyan.BaseRequest;
import com.quanyan.BaseResponse;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by zhuo.shi on 2016/7/12.
 * 提现转账通知
 *
 批量付款中成功付款的信息。
 格式为：流水号^收款方账号^收款账号姓名^付款金额^成功标识(S)^成功原因(null)^支付宝内部流水号^完成时间。

 批量付款中未成功付款的信息。
 格式为：流水号^收款方账号^收款账号姓名^付款金额^失败标识(F)^失败原因^支付宝内部流水号^完成时间。

 每条记录以“|”间隔。
 */
public class WithdrawTransferNotify extends BaseResponse implements Serializable{
    private static final long serialVersionUID = -3716135492148860249L;

    private String batchNo;             //批次号
    private String sourceSystemCode;    //业务系统编号
    private String sourceBusinessCode; //业务系统业务编号

    private String withdrawNo;      //流水号，（由支付系统提交批量付款时的提现申请流水号）
    private String applyNo;         //第三方业务系统提现申请号
    private String accountNo;       //收款账号
    private String name;     //收款人姓名
    private BigDecimal amount;  //付款金额
    private Boolean tag;     //成功（true），失败（false）标识
    private String reason;  //成功或失败原因
    private String tsn;     //支付宝内部流水号
    private String completedTime;  //付款完成时间

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    private String notifyUrl;

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getSourceSystemCode() {
        return sourceSystemCode;
    }

    public void setSourceSystemCode(String sourceSystemCode) {
        this.sourceSystemCode = sourceSystemCode;
    }

    public String getSourceBusinessCode() {
        return sourceBusinessCode;
    }

    public void setSourceBusinessCode(String sourceBusinessCode) {
        this.sourceBusinessCode = sourceBusinessCode;
    }

    public String getWithdrawNo() {
        return withdrawNo;
    }

    public void setWithdrawNo(String withdrawNo) {
        this.withdrawNo = withdrawNo;
    }

    public String getApplyNo() {
        return applyNo;
    }

    public void setApplyNo(String applyNo) {
        this.applyNo = applyNo;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Boolean getTag() {
        return tag;
    }

    public void setTag(Boolean tag) {
        this.tag = tag;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getTsn() {
        return tsn;
    }

    public void setTsn(String tsn) {
        this.tsn = tsn;
    }

    public String getCompletedTime() {
        return completedTime;
    }

    public void setCompletedTime(String completedTime) {
        this.completedTime = completedTime;
    }
}
